package com.cneport.transfer.router;

import java.util.List;

import com.cneport.transfer.router.model.Node;

public interface NodeFinder {
    /**
     * @Name: findNextNode 　* @Descrption:查找路由节点
     * @Author: fengzhiyong
     * @Version: V1.0
     * @CreateDate: 2012-6-18
     * @param nodeId
     * @return List<Node>
     */
    List<Node> findNextNode(String nodeId);

    /**
     * @Name: findParentNode 　* @Descrption:查找父节点
     * @Author: fengzhiyong
     * @Version: V1.0
     * @CreateDate: 2012-6-18
     * @param nodeId
     * @return Node
     */
    Node findParentNode(String nodeId);

    /**
     * @Name: findChildrenNodes 　* @Descrption:查找孩子节点
     * @Author: fengzhiyong
     * @Version: V1.0
     * @CreateDate: 2012-6-18
     * @param nodeId
     * @return List<Node>
     */
    List<Node> findChildrenNodes(String nodeId);

}
